package com.sskj.api.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sskj.api.domain.Manufacturer;
import com.sskj.api.vo.req.ManufacturerPageListReq;

public interface IManufacturerService extends IService<Manufacturer> {

    /**
     * 新增
     * @param manufacturer 实例
     */
    void add(Manufacturer manufacturer);

    /**
     * 更新
     * @param manufacturer 实例
     */
    void update(Manufacturer manufacturer);

    /**
     * 分页查询
     * @param req 请求实例
     * @return 结果集
     */
    IPage<Manufacturer> pageList(ManufacturerPageListReq req);
}
